package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "students")
@XmlType
public class Students {

    private Collection<Student>  studentCollection;

    /**
     * @return the studentCollection
     */
    @XmlElement(name="student")
    public Collection<Student> getStudentCollection() {
        return studentCollection;
    }

    /**
     * @param studentCollection the studentCollection to set
     */
    public void setStudentCollection(
            Collection<Student> studentCollection) {
        this.studentCollection = studentCollection;
    }

}
